package com.shijiu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shijiu.pojo.Order;
import com.shijiu.common.Result;

import java.util.Map;

/**
 * @Author xlj
 * @Date Created in  2023/3/18 14:30
 * @DESCRIPTION:
 * @Version V1.0
 */
public interface OrderService extends IService<Order> {

    //根据店铺id查询店铺所有订单
    Result selectOrderList(Integer id);

    //更新订单状态
    Result updateStatus(Order order);

    //展示订单的所有事物
    Result showFood(Integer id);

    Result selectOrderListByPage(Integer shopId, Map<String, Object> requestBodyMaps);
}
